﻿@model BrnMall.Web.StoreAdmin.Models.DistributorEditModel

@section header{
    <title>编辑分销商信息</title>
    <link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/jquery.validate.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/jquery.validate.unobtrusive.js"></script>
}
@section body{
    <h1 class="rightH1 nav-fx">
        小程序分销 &gt; 分销管理 &gt; <span class="rightH1-cur">编辑分销商信息</span>
        <div class="right">
            <a href="@Html.Raw(ViewData["referer"].ToString())" class="menuBT">返回列表</a>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </h1>

    @using (Html.BeginForm("EditDistributor", "Distributor"))
    {
        @Html.HiddenFor(x => x.Id)
        
        <div class="addTable">
            <table width="100%">
                <tr>
                    <td width="150px" align="right">分销商名称：</td>
                    <td>
                        @Html.TextBoxFor(x => x.DisStoreName, new { @class = "input", size = "35" })@Html.ValidationMessageFor(x => x.DisStoreName)

                    </td>
                </tr>
                <tr>
                    <td width="150px" align="right">头像：</td>
                    <td>
                       <img src="@Model.ShowLogo" width="70"/>

                    </td>
                </tr>
                <tr>
                    <td align="right">昵称：</td>
                    <td>
                        @Html.TextBoxFor(x => x.LinkMan, new { @class = "input", size = "35" })@Html.ValidationMessageFor(x => x.LinkMan)
                        
                    </td>
                </tr>
                <tr>
                    <td align="right">联系人：</td>
                    <td>
                        @Html.TextBoxFor(x => x.PhoneNumber, new { @class = "input", size = "35" })@Html.ValidationMessageFor(x => x.PhoneNumber)

                    </td>
                </tr>
                
            <tr>
                <td align="right">&nbsp;</td>
                <td>
                    <a href="" class="addBt" id="sumbitBut"><img src="/admin_store/images/submit.jpg" /></a>
                    <script type="text/javascript">
                            $(function () {
                                $("#sumbitBut").click(function () {
                                    $("form:first").submit();
                                    return false;
                                })
                            });
                    </script>
                </td>
            </tr>
            <tr>
                <td align="right">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
        </table>
    </div>
    }
}